projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f555ea
)
xm: Remove redundant os.waitpid() call from do_console()
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 4 Jun 2009 09:57:39 +0000
(10:57 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 4 Jun 2009 09:57:39 +0000
(10:57 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index a9806099f7a84d0d94a3f2ea79807ecb44b88fe1..a36371aab56acc5c135d9756c08f3c4eb0b0c6c5 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-1407,7
+1407,6
@@
def do_console(domain_name):
# the child process used to do this has detached
print("Domain has already finished");
break
- (p, rv) = os.waitpid(cpid, os.WNOHANG)
if os.WIFEXITED(rv):
if os.WEXITSTATUS(rv) != 0:
sys.exit(os.WEXITSTATUS(rv))